package com.fwx.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fwx.entity.Emp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* @author admin
* @description 针对表【emp】的数据库操作Mapper
* @createDate 2024-07-15 08:49:10
* @Entity com.fwx.entity.Emp
*/
@Repository
public interface EmpDao extends BaseMapper<Emp> {
    
    Page<Emp> selectAll(@Param("page") Page<Emp> page, @Param("ew") QueryWrapper<Emp> wrapper);

    Emp selectByEmpNo(Integer empno);
}
